import { OmitType, PartialType } from "@nestjs/mapped-types";
import { IsString } from "class-validator";
import { CreateDictItemDto } from "./create-dict-item.dto";

export class UpdateDictItemDto extends PartialType(
    OmitType(CreateDictItemDto, ["typeId", "typeCode", "value"] as const),
) {
    @IsString()
    id!: string;
}
